import React from 'react'
import Card from 'lib/components/card.jsx'
import HelpPart from './HelpPart.jsx'
import imgSrc from 'lib/util/ImageSource'

export default class IOSHelp extends React.Component {
  render(){
    return (
      <Card title="iOS SDK 安装方法">
        <video controls className="img-responsive" poster="https://dn-oneapm.qbox.me/ios-sdk-install-poster.v01.png">
          <source src="https://dn-oneapm.qbox.me/ios-sdk-install.v0.2.mp4" type="video/mp4" />
        </video>
        <div className="help-part">
          <h5>查阅更多文档</h5>
          <ul>
            <li><a href="https://oneapm.kf5.com/posts/view/43700/" target="_blank">iOS SDK Release Note</a></li>
            <li><a href="https://oneapm.kf5.com/posts/view/44067" target="_blank">iOS SDK 安装方法</a></li>
            <li><a href="https://oneapm.kf5.com/posts/view/52621/" target="_blank">iOS SDK 安装故障排查</a></li>
            <li><a href="https://oneapm.kf5.com/posts/view/52630/" target="_blank">Xcode 版本低于6.3，CPU占用达到100%</a></li>
            <li><a href="https://oneapm.kf5.com/posts/view/52629/" target="_blank">SDWebImage 造成的crash问题</a></li>
          </ul>
        </div>
        <HelpPart />
      </Card>
    )
  }
}
